
<form id="form_add"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td align="right">负责人：</td>
		<td colspan="3"><input type="text" name="emp" id="emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" size="12" title="{[$t.emp_|emp:'负责人']}">
		<input type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked> 自己</td>
	</tr>
	<tr>
		<td width="20%" align="right">车辆：</td>
		<td width="30%"><input type="text" name="car" id="car" size="16" value=""></td>
		<td width="20%" align="right">日期：</td>
		<td width="30%"><input type="text" name="date" id="date" value="{[$smarty.now|date_format:'%Y-%m-%d']}" size="12"></td>
	</tr>
	<tr>
		<td align="right">事由：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55"></textarea></td>
	</tr>
	<tr>
		<td align="right">油量：</td>
		<td><input type="text" name="quantity" id="quantity" size="10" value=""></td>
		<td align="right">费用：</td>
		<td><input type="text" name="cost" id="cost" value="" size="12"></td>
	</tr>	
	<tr>
		<td align="right">里程：</td>
		<td colspan="3"><input type="text" name="km1" size="10" value=""> 至 <input type="text" name="km2" size="10"
			value=""></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="50"></textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/car/oil/add.js?r={[$smarty.now]}"></script>